#ifndef  __DATA_ANO_H
#define __DATA_ANO_H

#include "stm32f4xx_hal.h"
#define u8 uint8_t 

#define GO_Mode 1
#define BACK_Mode 2


typedef struct {
int x;
int y;
uint8_t state;

}uav_str;

typedef struct {
uint8_t Loca_x;
uint8_t Loca_y;
uint8_t animal_type;
uint8_t animal_num;

}animal_str;


extern uav_str UAV;

extern animal_str animal;

void FlyDataSend(uint8_t location_num,uint8_t Aim);
void UAV_location_relize(uint8_t * buffer);
void AnoDTRxOneByte(u8 data);
#endif